package com.longxiao.vo;

import com.longxiao.entity.TeacherLecture;
import com.longxiao.entity.User;

/**
 * Created by yusong on 2017/5/4.
 * 老师信息
 */
public class TchUserVo extends UserVo {
    //老师费率
    private Integer rate;
    //已上课时
    private Integer teachedLectures;
    //已支付课时
    private  Integer paiedLectures;
    //学生人数
    private Integer stuCount;

    public TchUserVo() {
        super();
    }

    public TchUserVo(User user, TeacherLecture teacherLecture) {
        super(user);
        if (teacherLecture != null) {
            this.rate = teacherLecture.getRate();
            this.teachedLectures = teacherLecture.getTeachedLectures();
            this.paiedLectures = teacherLecture.getPaiedLectures();
        }
    }



    public Integer getRate() {
        return rate;
    }

    public void setRate(Integer rate) {
        this.rate = rate;
    }

    public Integer getTeachedLectures() {
        return teachedLectures;
    }

    public void setTeachedLectures(Integer teachedLectures) {
        this.teachedLectures = teachedLectures;
    }

    public Integer getPaiedLectures() {
        return paiedLectures;
    }

    public void setPaiedLectures(Integer paiedLectures) {
        this.paiedLectures = paiedLectures;
    }

	public Integer getStuCount() {
		return stuCount;
	}

	public void setStuCount(Integer stuCount) {
		this.stuCount = stuCount;
	}
    
}
